On Equivalence and Inconsistency of Answer Set Programs with External Sources
نویسنده
چکیده
HEX-programs extend of answer-set programs (ASP) with external sources. In previous work, notions of equivalence of ASP programs under extensions have been developed. Most well-known are strong equivalence, which is given for programs P and Q if P ∪ R and Q ∪ R have the same answer sets for arbitrary programs R, and uniform equivalence, which is given if this is guaranteed for sets R of facts. More finegrained approaches exist, which restrict the set of atoms in the added program R. In this paper we provide a characterization of equivalence of HEX-programs. Since well-known ASP extensions (e.g. constraint ASP) amount to special cases of HEX, the results are interesting beyond the particular formalism. Based on this, we further characterize inconsistency of programs wrt. program extensions. We then discuss possible applications of the results for algorithms improvements.
منابع مشابه
Inlining External Sources in Answer Set Programs
HEX-programs are an extension of answer set programming (ASP) towards external sources. To this end, external atoms provide a bidirectional interface between the program and an external source. The traditional evaluation algorithm for HEX-programs is based on guessing truth values of external atoms and verifying them by explicit calls of the external source. The approach was optimized by techni...
متن کاملStrong equivalence made easy: nested expressions and weight constraints
Logic programs P and Q are strongly equivalent if, given any program R, programs P ∪R and Q ∪R are equivalent (that is, have the same answer sets). Strong equivalence is convenient for the study of equivalent transformations of logic programs: one can prove that a local change is correct without considering the whole program. Lifschitz, Pearce and Valverde showed that Heyting’s logic of here-an...
متن کاملConflict-driven ASP Solving with External Sources and Program Splits
Answer Set Programming (ASP) is a well-known problem solving approach based on nonmonotonic reasoning. HEX-programs extend ASP with external atoms for access to arbitrary external sources, which can also introduce constants that do not appear in the program (value invention). In order to determine the relevant constants during (pre-)grounding, external atoms must in general be evaluated under u...
متن کاملEfficient Evaluation of Answer Set Programs with External Sources Based on External Source Inlining
HEX-programs are an extension of answer set programming (ASP) towards external sources. To this end, external atoms provide a bidirectional interface between the program and an external source. Traditionally, HEX-programs are evaluated using a rewriting to ordinary ASP programs which guess truth values of external atoms; this yields answer set candidates whose guesses are verified by evaluating...
متن کاملConstraint Answer Set Programming Based on HEX-Programs
Constraint Answer Set Programming (CASP) is a convenient integration of the Answer Set Programming (ASP) paradigm with constraint programming (CP), which was exploited for a range of applications. HEX-programs are another extension of ASP towards integration of arbitrary external sources through socalled external atoms. In this work, we integrate HEX-programs with CP, which results in a strict ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017